<script setup lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import PageLoading from '@/components/PageLoading.vue'
import GlobalMusicPlayer from '@/components/GlobalMusicPlayer.vue'

dayjs.locale('zh-cn')

const locale = zhCN
</script>

<template>
    <a-config-provider :locale="locale">
        <RouterView />
        <PageLoading />
        <GlobalMusicPlayer />
    </a-config-provider>
</template>

<style scoped></style>
